#pragma once

#include "core/noncopy.h"
#include "core/kobject.h"
#include "image_common.h"

namespace renderit
{
	namespace image
	{
		class image : public core::kobject
		{
		public:
			image();

		public:
			~image();

		public:
			char * get_data();

		public:
			image* init_desc(int width, int height, int bytes_per_pixel, int stride);

		private:
			char * data_;
			SImageDescription desc_;
		};

		typedef core::ref_ptr<image> image_ptr;
	}
}